/*
 * @Description: 
 * @Author: wind-lc
 * @version: 1.0
 * @Date: 2021-08-17 18:53:10
 * @LastEditTime: 2021-09-15 11:33:30
 * @FilePath: \cscec-pms-admin\src\api\project\branchEvaluate.js
 */
import request from '@/utils/request'
import { projectApiUrl } from '../config'
/**
 * 设计资源分公司评价列表
 * @param parameter
 */
export function getDesignResourceEvaluateList(parameter) {
  return request({
    url: projectApiUrl + '/design/resource/evaluation/list/list',
    method: 'post',
    data: parameter
  })
}
/**
 * 设计资源列表
 * @param parameter
 */
export function ledger(parameter) {
  return request({
    url: projectApiUrl + '/design/resource/evaluation/list/ledger',
    method: 'get',
    params: parameter
  })
}

/**
 * 设计资源分公司评价统计
 * @param
 */
export function getDesignResourceEvaluateTotal(data) {
  console.log(data)
  return request({
    url: projectApiUrl + '/design/resource/evaluation/total/total',
    method: 'post',
    data
  })
}

/**
 * 设计资源分公司评价详情
 * @param
 */
export function getResourceEvaluateDeltails(data) {
  return request({
    url: projectApiUrl + '/design/resource/evaluation/detail',
    method: 'get',
    params: data
  })
}
/**
 * 设计资源分公司评价详情汇总统计
 * @param
 */
export function getResourceEvaluateDeltailsTotal(data) {
  return request({
    url: projectApiUrl + '/design/resource/evaluation/detail-total/detail-total',
    method: 'post',
    data
  })
}

/**
 * 设计资源分公司评价
 * @param
 */
export function getAuditForm(data) {
  return request({
    url: projectApiUrl + '/design/resource/evaluation/audit-assessment-form',
    method: 'post',
    data: data
  })
}


